import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import Storage from 'vue-ls';
import 'element-ui/lib/theme-chalk/index.css';
import './utility/style.css';
import './permission';
import '@/components/ef/index.css'


Vue.config.productionTip = false

Vue.use(ElementUI);

/**
 * @description:Vue.ls 
 * @return {*}
 */
 let options = {
  namespace: 'tms__', // 存储的key的前缀
  name: 'ls', // 命名，Vue变量.[ls]或this.[$ls]。全局：Vue.ls，上下文：this.$ls
  storage: 'local', //  存储名称【三个可选项】:session, local, memory
};
Vue.use(Storage, options);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
